﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SocialPhotos.Models.Entities;

namespace SocialPhotos.Models
{
    public interface IUserRepository
    {
       IQueryable<User> Users { get; }

        User GetUserByUserName(string userName);

        User GetUserByProviderKey(string key);

        Boolean VerifyUser(string userName, string password);

        Boolean VeryfyUser(string priderKey);

        bool CreateUser(string providerKey, string name, string password);
    }
}
